//
//  GLGWProgressHUD+Extemt.h
//  GLGW_Shoping
//
//  Created by yang on 2018/11/26.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "GLGWProgressHUD.h"

NS_ASSUME_NONNULL_BEGIN

@interface GLGWProgressHUD (Extemt)

+ (GLGWProgressHUD *)createHUD:(UIView * __nullable)view;
+ (GLGWProgressHUD *)defaultMBProgress:(UIView * __nullable)view;
+ (GLGWProgressHUD *)defaultMBProgressWithText:(NSString * __nullable)text view:(UIView * __nullable)view;


+ (void)showSuccess:(NSString *__nullable)success view:(UIView *__nullable)view;
+ (void)showError:(NSString *__nullable)error view:(UIView *__nullable)view;
+ (GLGWProgressHUD *)showNotice:(NSString * __nullable)notice view:(UIView * __nullable)view;

/*****帧动画*****/
+ (GLGWProgressHUD *)showCustomAnimate:(NSString * __nullable)text imageName:(NSString * __nullable)imageName imageCounts:(NSInteger)imageCounts view:(UIView * __nullable)view;

+ (void)drawErrorViewWithText:(NSString * __nullable)text view:(UIView * __nullable)view;
+ (void)drawRightViewWithText:(NSString * __nullable)text view:(UIView * __nullable)view;
+ (GLGWProgressHUD *)drawRoundLoadingView:(NSString * __nullable)tex view:(UIView * __nullable)viewt;
@end

NS_ASSUME_NONNULL_END
